import Mock from 'mockjs'
import category from './category'
import brand from './brand'
// mock配置
Mock.setup({
  // 随机延时500-1000毫秒
  timeout: '500-1000'
})

Mock.mock(/\/home\/category\/head/, 'get', category.headCategory)
Mock.mock(/\/home\/brand/, 'get', brand.hot)
Mock.mock(/\/home\/banner/, 'get', brand.banner)
